package Files;

import java.io.File;
import java.io.IOException;

public class myFilesDemo {
    public static void main(String[] args) throws IOException {
//        createFile();
//        createFiles();
    }
    static void createFile(){
        File myFile = new File("c:/myFiles");
        boolean b = myFile.mkdirs();
        System.out.println(b);
    }
    static void createFiles() throws IOException{
        File myFile = new File("./myFiles/myFiles2/myFiles3");
        if(!myFile.exists()){
            myFile.mkdirs();
        }else{
            createFile();
        }
    }


}
